package com.wltt.product.ahuthr.mapper;

import com.wltt.product.ahuthr.mapper.base.BaseMapper;
import com.wltt.product.ahuthr.model.po.UserEducationPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @ClassName: UserEducationPO
 * @Description: 人员教育经历 Dao
 * @Date: 2024-05-17 09:03:14
 * @Author yanggl
 */
public interface UserEducationMapper extends BaseMapper<UserEducationPO, Long> {

    /**
     * 详情
     *
     * @param userId 根据人员id查询
     * @return
     */
    List<UserEducationPO> queryByUserId(@Param("userId") Long userId);

    /**
     * 根据人员id删除
     *
     * @param userId
     * @return
     */
    void deleteByUserId(@Param("userId") Long userId);

}